﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dxr.Police.Models
{
    public class UserInfo
    {
        /// <summary>
        /// 标识ID
        /// </summary>
        public string Id { set; get; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public string UserId { set; get; }
        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName { set; get; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { set; get; }
        /// <summary>
        /// 单位类别
        /// </summary>
        public string CompanyType { set; get; }
        /// <summary>
        /// 单位ID
        /// </summary>
        public string CompanyId { set; get; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string CompanyName { set; get; }
        /// <summary>
        /// 区县编号
        /// </summary>
        public string CountyId { get; set; }
        public string CountyName { get; set; }

        /// <summary>
        /// 单位编号
        /// </summary>
        public string DepartmentId { get; set; }
        public string DepartmentName { get; set; }
        /// <summary>
        ///  角色（数据权限）
        /// </summary>
        public RoleType Role { set; get; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdCardNo { set; get; }
        /// <summary>
        /// 警号
        /// </summary>
        public string PoliceNo { set; get; }
        /// <summary>
        /// 图片路径
        /// </summary>
        public string PhotoUrl { set; get; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool Deleted { set; get; }
        /// <summary>
        /// 警务区id
        /// </summary>
        public string WorkPlaceId { set; get; }
        /// <summary>
        /// 警务区
        /// </summary>
        public string WorkPlaceName { set; get; }
        /// <summary>
        /// 电话号码
        /// </summary>
        public string Tel { set; get; }
        /// <summary>
        /// 职务id
        /// </summary>
        public string RankId { set; get; }
        /// <summary>
        /// 职务
        /// </summary>
        public string RankName { set; get; }
        /// <summary>
        /// 领导标识
        /// </summary>
        public bool IsLeader { set; get; }
        /// <summary>
        /// 是否默认为重点人的责任民警
        /// </summary>
        public bool Liable { set; get; }
    }
}
